#ifndef _MOTOR_MQTT_H
#define _MOTOR_MQTT_H

enum {
    MQTT_STATE_STOP = 0,
    MQTT_STATE_OPEN = 1,
    MQTT_STATE_OPENED,
    MQTT_STATE_CLOSE,
    MQTT_STATE_CLOSED
};

void mqtt_app_start();
void mqtt_publish_pos(uint8_t pos);
void mqtt_publish_state(uint8_t state);

#endif // _MOTOR_MQTT_H
